import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import Swiper from 'swiper'
import 'normalize.css/normalize.css' // A modern alternative to CSS
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css
import 'font-awesome/css/font-awesome.css'
import 'swiper/swiper.min.css'
import Element from 'element-ui'
// 引入插件
import plugin from './plugins'
import '@/assets/base.less'

Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper)
// 应用插件
Vue.use(plugin)
Vue.use(Element, {
  size: 'medium' // set element-ui default size
})
Vue.prototype.$http = axios
const app =
  new Vue({
    router,
    store,
    render: h => h(App)
  })
// console.warn(app)
app.$mount('#app')
